<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" data-react-helmet="true">
    <title>列表</title>
</head>
<style>
    *{padding:0px; margin:0px; font-size: 12px;font-family: arial,"Microsoft YaHei","\5fae\8f6f\96c5\9ed1";-webkit-font-smoothing: antialiased; line-height: 1.5;}
    ul,li{list-style: none}
    #main{width:820px;  padding:5px; height: 700px; margin:100px auto; border: 1px solid #333333}
    #head{height:60px; margin: 5px auto;}
    #body li{width: 105px; float: left; height:105px; border: 1px solid #8D8D8D; margin: 5px}
    #body li:hover{border: 1px solid #FF5722;}
    .roomHead{padding:5px}
    .roomBody{padding:5px}
</style>
<body>
<div id="main">

    <div id="head"></div>
    <div id="body">
        <ul id="bodyul">

        </ul>
    </div>
</div>
</body>
<script src="Common/Common.js"></script>
<script>
    CommonFileListRequertFile('Socket');
    CommonFileListRequertFile('Jquery');
    CommonFileListRequertFile('Layer');
    CommonFileListRequertFile('ProtocolApi');
    CommonFileListRequertFile('FunctionCommon');
    CommonFileListRequertFile('LoadCheck');
    CommonFileListRequertFile('RoomList');
    CommonFileListRequertFile('ServerCommonMessage');

    window.onload=function (){

        var RoomListlController=new RoomList();

        ws.onmessage=function (eve){
            ServerCommonMessage.getAction(eve);
            RoomListlController.getAction(eve);
        };

        setTimeout(function (){
            ws.send(ProtocolApi.ProtocolMsg(ProtocolApi.Protocol['DDZ_GET_ROOM_LIST'],{}));
        },1000);

    }


</script>